package com.sloth.bear.dto.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sloth.bear.dto.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 导航栏实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("navbar")
public class Navbar extends BaseEntity {

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Long parentId;

    private String name;

    private String description;

    private String url;

    private String icon;

    private Integer sortNo;
}